// 头部样式
.layout {
    width: 100%;
    margin: 0 auto;

    >.header {
        height: 44px;
        line-height: 44px;
        background: linear-gradient(to right, #ff2250, #ffc431);
        position: relative;

        >.back {
            position: absolute;
            left: 10px;
            top: 0;
            height: 100%;
            width: 60px;

            >a {
                display: block;
                width: 15px;
                height: 50px;
                background: url(../images/icon_bar.png) no-repeat -208px -22px;
                color: #fff
            }

        }

        h4 {
            color: #fff;
            text-align: center;
        }

        >.load {
            position: absolute;
            top: 0px;
            right: 0px;
            width: 50px;
            height: 44px;

            >a {
                width: 100%;
                height: 100%;
                display: block;
                background-image: url(http://192.168.100.222:8888/mmb/images/zqj/header_app.png);
                background-repeat: no-repeat;
                background-position: center center;
                background-size: 34px 34px;
            }

        }
    }

    // 内容部分
    >#container {
        background-color: #fff;

        >ul {
            width: 100%;

            >a {
                display: block;
                width: 100%;

                >li {
                    width: 100%;

                    .productImg {
                        line-height: 110px;
                        float: left;

                        >img {
                            width: 100px;
                            height: 100px;
                            vertical-align: middle;
                        }
                    }

                    >.shop {
                        padding-left: 10px;
                        display: inline-block;
                        color: #a1a1a1;
                        margin-bottom: 20px;
                    }

                    >.comment {
                        color: #a1a1a1;
                        float: right;
                        margin-right: 10px;

                        >.icon-comment {
                            background-image: url('http://192.168.100.222:8888/mmb/images/zqj/icon-comment.svg');
                            width: 14px;
                            height: 15px;
                            display: inline-block;
                            background-size: auto 100%;
                            background-repeat: no-repeat;
                            background-position: center;
                            vertical-align: middle;
                            margin-right: 4px;
                        }


                    }

                    .productTitle {
                        overflow: hidden;
                        color: #333333;
                        font-size: 15px;
                        line-height: 19px;
                        min-height: 80px;
                        text-align: left;
                        font-weight: normal;
                        padding-top: 15px;
                        padding-left: 10px;

                        >.productPrice {
                            color: #ff6c00;
                            font-style: normal
                        }
                    }
                }
            }
        }
    }


    //底部部分
    #footer {
        width: 100%;

        .paging {
            position: relative;
            padding-top: 30px;
            width: 100%;

            .prev,
            .next {
                outline: none;
                cursor: pointer;
                border: solid 1px #da7c0c;
                background: #f78d1d;
                text-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);
                border-radius: .5em;
                box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
                height: 40px;
                line-height: 40px;
                color: #000;
                text-align: center;
                position: absolute;
                zoom: 1;
                width: 20%;
                outline: none;
                cursor: pointer;
                text-decoration: none;
            }

            .prev {
                left: 0px;
                top: 0px;
                margin: 0px 20px 0px 20px;
            }

            .next {
                right: 0px;
                top: 0px;
                margin: 0px 20px 0px 20px;
            }

            .page {
                position: absolute;
                left: 50%;
                transform: translateX(-50%);
                top: 0px;
                width: 30%;
                height: 40px;
                line-height: 40px;
                border: 1px solid #000;
                text-align: center;
            }

            >i {
                content: "";
                width: 0;
                height: 0;
                position: absolute;
                right: 36%;
                top: 20px;
                margin-top: -3px;
                border-width: 6px 6px 0px 6px;
                border-style: solid;
                border-color: #2f2929 transparent;
            }

            ul {
                border: 1px solid #000;
                text-align: center;
                position: absolute;
                left: 50%;
                transform: translateX(-50%);
                top: 0px;
                width: 30%;
                top: -200px;
                height: 200px;
                overflow-y: scroll;
                border-bottom: none;
                background-color: #ffffff;
                display: none;

                >li {
                    line-height: 20px;

                    &:hover {
                        color: #fff;
                        background-color: blue;
                    }
                }
            }
        }

        .nav {
            width: 100%;
            height: 36px;
            background-color: #ebebeb;
            background: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#ebebeb));
            background: -moz-linear-gradient(top, #ffffff, #ebebeb);
            background: -o-linear-gradient(top, #ffffff, #ebebeb);
            border-top: solid 1px #ebebeb;
            border-bottom: 1px solid #ccc;
            line-height: 36px;
            padding-left: 8px;
            font-size: 14px;
            margin-top: 40px;
            color: #333333;

            >a {
                color: #000;
            }
        }

        .operation {
            background: #efefef;
            border-top: 1px solid #c4c4c4;
            border-bottom: 1px solid #c4c4c4;
            height: 34px;
            line-height: 34px;
            margin-top: 25px;
            clear: both;
            background: url("http://192.168.100.222:8888/mmb/images/nav-bg2(1).png");
            background-repeat: no-repeat;
            background-size: cover;

            .icon {
                width: 25px;
                height: 25px;
                vertical-align: middle;
                fill: currentColor;
                overflow: hidden;
            }

            .login {
                box-sizing: border-box;
                float: left;
                font-size: 14px;
                border-right: 1px solid #c4c4c4;
                text-align: center;
                width: 33%;

                a {
                    color: #000;
                }
            }

            .register {
                box-sizing: border-box;
                float: left;
                font-size: 14px;
                border-right: 1px solid #c4c4c4;
                text-align: center;
                width: 33%;

                a {
                    color: #000;
                }
            }

            .backTop {
                box-sizing: border-box;
                float: left;
                font-size: 14px;
                border-right: 1px solid #c4c4c4;
                text-align: center;
                width: 34%;

                img {
                    vertical-align: middle;
                    margin-top: -5px;
                    margin-right: 2px;
                    width: 15px;
                    height: 15px;
                }

                a {
                    color: #000;
                }
            }
        }

        .generalize {
            text-align: center;
            font-size: 12px;
            color: #666;
            margin-top: 15px;

            .phoneApp>a:nth-child(1) {
                color: red;
            }

            .phoneApp>a:nth-child(2) {
                color: #000;
            }
        }

    }
}
